using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MMM.Core.Domain;
using ServiceStack.ServiceHost;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using MMM.Services.Response;


namespace MMM.Services.Operations
{
	/// <summary>
    /// 行政区域管理 GET获取操作映射类
    /// </summary>
    [Route("/api/administrativearea", "GET")]
    public class AdministrativeAreaPageGet:PageGet<AdministrativeAreaPageGet>
    {
        //public string Name { get; set; }
    }
	/// <summary>
    /// 行政区域管理 DELETE操作映射类
    /// </summary>
    [Route("/api/administrativearea", "DELETE")]
    public class AdministrativeAreaDelete : Base.DeleteOperation<Guid?>
    {
    }

    /// <summary>
    /// 行政区划 树节点
    /// </summary>
    [Serializable]
    [Route("/api/areaTree", "GET")]
    public class AreaNode : JsonNode<AreaNode>
    {
        public string  ParentName { get; set; }
        /// <summary>
        /// 区域编号
        /// </summary>
        public String Code { get; set; }
       
        /// <summary>
        /// 行政级别
        /// </summary>
        public int pLevel { get; set; }
        /// <summary>
        /// 拼音
        /// </summary>
        public String Spell { get; set; }
    }

    
   
}
